package com.axjy.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.axjy.service.YiCardUserService;
import com.axjy.util.Pager;

@Controller
public class YiCardUserController {

	@Resource
	private YiCardUserService yiCardUserService;
	
	@RequestMapping("yiCardUserJsp")
	public String yiCardUserJsp() {
		return "qiantai/yiCardUser";
	}
	
	@ResponseBody
	@RequestMapping("yiCardUser")
	public Pager yiCard(Integer offset,Integer limit,String columnName,String columnValue) {
		return yiCardUserService.pager(offset, limit, columnName, columnValue);
	}
}
